<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Uploadify</title>
<link href="../Public/js/uploadify/example/css/default.css" rel="stylesheet" type="text/css" />
<link href="../Public/js/uploadify/example/css/uploadify.css" rel="stylesheet" type="text/css" />
<link href="../Public/js/uploadify/uploadify.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../Public/js/uploadify/swfobject.js"></script>
<script type="text/javascript" src="../Public/js/uploadify/jquery.uploadify.v2.1.0.min.js"></script>

    <script type="text/javascript">
        $(document).ready(function()
        {
            $("#uploadify").uploadify({
                'uploader': '../Public/js/uploadify/uploadify.swf',
                'script': '../Public/js/uploadify/uploadify.php',
                'cancelImg': '../Public/js/uploadify/cancel.png',
                'folder': '../Public/upload',
                'queueID': 'fileQueue', 
                'auto': false,
                'fileDesc' : '支持格式:jpg/gif/jpeg/png/bmp.',
                'fileExt'  : '*.jpg;*.gif;*.jpeg;*.png;*.bmp',//允许的格式 
                'multi': true          
            });
        });  
    </script>

</head>
<body>
 <!-- <form id="someForm" action="{:U('/Upload/add_photo')}" method="post">-->
    <div id="fileQueue"></div>
    <input type="file" name="uploadify" id="uploadify"/>
     
    <p>
    <!--  <input onclick="javascript:$('#uploadify').uploadifyUpload()" type="button" value="上传" />-->
    <a href="javascript:$('#uploadify').uploadifyUpload()">上传</a>
      <a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a>
    </p>  
  
</body>
</html>